package unauth_router

import (
	unauth_controller "gvb_service/controller/unauth"

	"github.com/gin-gonic/gin"
)

func UnauthRouterInit(r *gin.Engine) {
	unauthRouter := r.Group("/api/unauth")
	{
		unauthRouter.POST("/register", unauth_controller.UserRegister)
		unauthRouter.POST("/login", unauth_controller.UserLogin)
		unauthRouter.GET("/ping", unauth_controller.Ping)
	}
}
